SET NOCOUNT ON
SET QUOTED_IDENTIFIER ON
GO

PRINT '---- BUILD REPOSITORY'

EXEC spUFGOntw_EmptyRepository
EXEC spUFGOntw_FillRepositoryWithDefault 
@AddAuditColumns = 1, 
@RunCreateDefaultSPs = 1, 
@RunCreatePanels = 0, 
@RunCreateIndexes = 1, 
@RunCreateHistory = 0, 
@RunStatistics = 0, 
@CheckModel = 1, 
@ParseCheckConstraints = 1

-- UPDATE tblUFGTables SET utb_SearchStart=1